﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Core;
using TouchSocket.Sockets;

namespace ConsoleApp9
{
    public class DdpReceivingPlugin : ITcpReceivingPlugin
    {
        public void Dispose()
        {
            
        }

        public void Loaded(IPluginManager pluginManager)
        {
            //throw new NotImplementedException();
        }

        public Task OnTcpReceiving(ITcpClientBase client, ByteBlockEventArgs e)
        {
            Console.WriteLine("XXXXXXXXXXXXXXXXXXX");
            e.Handled = true;     
            return Task.CompletedTask;

        }
    }
}
